<?php /* Smarty version 2.6.18, created on 2016-12-12 10:22:53
         compiled from student/basic.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">基本录入</p>
                    <a href="tp/student_in.xls" class="btn btn-primary btn-sm" style="float:right; margin-left:8px;">模版</a>
                    <a href="index.php?a=student.studentadd" class="btn btn-primary btn-sm" style="float:right; margin-left:8px;">新增</a>
                    <a href="index.php?a=student.in" class="btn btn-success btn-sm" style="float:right">批量导入</a>
                    <a href="index.php?a=student.outdata" target="_blank" class="btn btn-warning btn-sm" style="float:right; margin-right:8px;">导出</a>
					<a href="index.php?a=score.first" class="btn btn-info btn-sm" style="float:right; margin-right:8px;">查看成绩</a>
                </div>
                    <div class="box-body">
                      <a href="index.php?a=student.studentlist" class="btn btn-primary btn-sm"> 基本信息 </a>
                      <a href="index.php?a=student.studentrestslist" class="btn btn-default btn-sm"> 其他信息 </a>
                        <table class="table table-bordered table-striped" id="mytable"> 
                           <thead>  
                             <tr style="background-color:#5fb2dc;">
							    <td>姓名</td>
								<td>性别</td>
								<td>出生日期</td>
								<td>身份证号</td>
								<td>民族</td>
								<td>户口性质</td>
								<td>联系方式</td>
                                <td width="120">操作</td>
							 </tr>
                           </thead>
							 <?php $_from = $this->_tpl_vars['student_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                             <tr>
							    <td><?php echo $this->_tpl_vars['value']['student_name']; ?>
</td>
							    <td><?php echo $this->_tpl_vars['value']['student_sex']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['student_birth']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['student_card']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['student_nation']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['student_registered']; ?>
</td>
								<td><?php echo $this->_tpl_vars['value']['student_tel']; ?>
</td>
                                <td>
                                     <a href="index.php?a=student.studentupdate&student_id=<?php echo $this->_tpl_vars['value']['student_id']; ?>
" class="btn btn-warning btn-sm" title="修改"> <i class="fa fa-edit (alias)"></i> </a>
								     <a onclick="if(confirm('警告！确认删除信息?')==false)return false;" href="index.php?a=student.studentdel&student_id=<?php echo $this->_tpl_vars['value']['student_id']; ?>
" class="btn btn-danger btn-sm" title="删除"> <i class="fa fa-trash"></i></a>
                                </td>
							 </tr>
                             <?php endforeach; endif; unset($_from); ?>
						 </table>
				    </div><!--box-body -->
					<div class="box-footer" style="border-top:0px;">
					   <?php echo $this->_tpl_vars['page']; ?>

					</div>
               </form>
			   
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>